a {
    text-decoration: none;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

// 顶部
.stie-nav {
    height: 32px;
    background: #f2f2f2;
    border-bottom: 1px solid #e5e5e5;
    .sn-container {
        margin: 0 auto;
        width: 1230px;
        height: 32px;
        display: flex;
        justify-content: space-between;
    }
    .sn-info {
        width: 218px;
        height: 32px;
    }
    .sn-menu {
        height: 32px;
    }
}

// 左边登陆部分
.sn-info {
    .sn-login-info {
        height: 100%;
        display: flex;
        align-items: center;
    }
    span {
        font-size: 12px;
        color: #999;
    }
    .sn-login {
        padding: 0 10px 0 20px;
        font-size: 12px;
        color: #999;
    }
    .sn-register {
        padding: 0 10px;
        font-size: 12px;
        color: #999;
    }
    a:hover {
        color: #FF0036;
    }
}

//右边菜单部分
.sn-menu {
    .sn-quick-menu {
        display: flex;
        align-items: center;
    }
    a {
        padding: 0 10px;
        height: 32px;
        line-height: 32px;
        font-size: 12px;
        color: #999;
    }
    a:hover {
        color: #FF0036;
    }
    .meun-hd {
        padding: 0 14px 0 10px;
    }
    .meun-hd:hover {
        text-decoration: underline;
    }
    span {
        width: 1px;
        height: 14px;
        background-color: #666;
    }
}

.meun-hd {
    display: flex;
    align-items: center;
    .i {
        margin: 0 3px;
        width: 6px;
        height: 6px;
        background-color: #666;
    }
}

.meun-link {
    display: flex;
    align-items: center;
    i {
        margin-right: 3px;
        width: 12px;
        height: 12px;
        background-color: #FF0036;
    }
    .i {
        margin: 0 3px;
        width: 6px;
        height: 6px;
        background-color: #666;
    }
}

//头部部分
.header {
    height: 130px;
    background-color: #fff;
    .headerCon {
        margin: 0 auto;
        width: 1230px;
        display: flex;
        justify-content: space-between;
    }
}

.headerCon {
    .img {
        margin-left: -45px;
        width: 290px;
        height: 130px;
    }
    .search {
        padding-top: 38px;
        width: 625px;
        height: 40px;
        display: flex;
    }
    .right {
        padding: 2px 0 0 102.5px;
        width: 200px;
        height: 70px;
    }
}

//搜索框
.search {
    .search-input {
        padding: 5px 3px 5px 5px;
        box-sizing: border-box;
        width: 483px;
        height: 36px;
        font-size: 16px;
        flex-shrink: 0;
        border: 2px solid #FF0036;
        border-right: none;
    }
    .search-btn {
        padding: 0;
        width: 132px;
        height: 36px;
        color: #fff;
        font-size: 18px;
        font-weight: 700;
        letter-spacing: 5px;
        background-color: #ff0036;
        border: 2px solid #FF0036;
        cursor: pointer;
    }
}

//主要内容区域
.content {
    margin-top: 1px;
    background-color: #f5f5f5;
    .main-nav {
        height: 35.5px;
        border-style: solid;
        border-width: 0 0 1.5px;
        border-color: #FF0036;
    }
}

// 导航部分
.main-nav {
    .inner-con0 {
        margin: 0 auto;
        width: 1230px;
        height: 35px;
        display: flex;
    }
    .category-type {
        width: 200px;
        height: 36px;
        background-color: #FF0036;
        color: #fff;
        display: flex;
        align-items: center;
    }
    .inner-con1 {
        width: 1030px;
        height: 35px;
        display: flex;
        align-items: center;
    }
}

.category-type {
    .icon {
        margin-left: 14px;
        width: 16px;
        height: 36px;
        background-color: #fff;
    }
    strong {
        margin-left: 8px;
        font-size: 16px;
        font-weight: 700;
    }
}

.inner-con1 {
    a {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 8px;
        height: 35px;
        font-size: 16px;
        font-weight: 500;
        color: #333;
    }
    a:hover {
        color: #FF0036;
    }
    img {
        display: block;
        width: 100px;
        height: 30px;
    }
}

.main-banner {
    background-color: #f8751b;
    .banner {
        margin: 0 auto;
        width: 1230px;
        height: 500px;
        position: relative;
    }
    // 轮播下面的控制器
    .dots {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 40px;
        display: flex;
        justify-content: center;
        z-index: 1;
    }
    .dot {
        width: 25px;
        height: 5px;
        margin-left: 5px;
        background-color: #000;
        opacity: .3;
    }
    .active {
        background-color: #fff;
        opacity: .6;
    }
    .nav-item {
        position: absolute;
        top: 0;
        left: 0;
        width: 200px;
        height: 500px;
        display: flex;
        flex-direction: column;
    }
}

.nav-item {
    li {
        width: 200px;
        // height: 36px;
        display: flex;
        align-items: center;
        flex-grow: 1;
        font-size: 14px;
        color: #fff;
        transition: all .2s;
        background-color: rgba(0, 0, 0, .55);
    }
    li:hover {
        background-color: #fff;
    }
    li:hover a,
    li:hover span {
        color: #e54077;
    }
    li:hover .icon {
        background-color: #e54077;
    }
    .icon {
        margin: 0 4px 0 14px;
        width: 16px;
        height: 28px;
        background-color: #fff;
    }
    a {
        color: #fff;
    }
}

//广告
.activity-bg {
    .activity-main {
        margin: 30px auto 0;
        // padding-right: 30px;
        width: 1230px;
        height: 329px;
        img {
            display: block;
            margin: 0 auto 20px auto;
        }
    }
    .activity-discounts {
        display: flex;
        justify-content: space-between;
        align-items: center;
        img {
            margin: 0;
            display: block;
            width: 238px;
            height: 269px;
            transition: all .3s ease-out;
        }
    }
    a:hover {
        img {
            opacity: .7;
        }
    }
}

//logo组
.logo-group {
    margin: 50px auto 0;
    // padding-right: 30px;
    width: 1230px;
    height: 327px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    .logo-top,
    .logo-center,
    .logo-bottom {
        height: 108px;
        display: flex;
        align-items: center;
        a {
            position: relative;
            height: 100%;
            display: flex;
            flex-grow: 1;
            justify-content: center;
            align-items: center;
            font-size: 12px;
            color: #fff;
            background-color: #fff;
        }
        .none {
            width: 100%;
            height: 100%;
            position: absolute;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            transition: all .3s;
            opacity: 0;
        }
        a:hover .none {
            opacity: 1;
            background: rgba(0, 0, 0, .8);
        }
    }
    .none {
        .text {
            width: calc(100% - 10px);
            text-align: center;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }
        .btn {
            width: 64px;
            height: 18px;
            margin-top: 10px;
            border-radius: 25px;
            text-align: center;
            line-height: 18px;
            background-color: #FF0036;
        }
    }
    img {
        display: block;
        width: 100px;
        height: 50px;
    }
}

//面板部分
.pannel {
    margin: 20px auto 0 auto;
    width: 1230px;
    height: 665px;
    .supermarket {
        img {
            display: block;
            width: 214px;
            height: 25px;
        }
    }
    .pannel-content {
        margin-top: 20px;
        margin-bottom: 20px;
        display: flex;
    }
}

// 面板主要内容
.pannel-content {
    .pannel-left {
        display: flex;
        a {
            position: relative;
            width: 235px;
            height: 618px;
        }
        img {
            display: block;
            width: 235px;
            height: 618px;
            transition: all .3s ease-out;
            opacity: 1;
        }
        a:hover img {
            opacity: .7;
        }
    }
    .pannel-right {
        margin-left: 13px;
        width: 995px;
        height: 618px;
    }
}

// 面板左侧部分
.pannel-left {
    .selection {
        width: 218px;
        height: 64px;
        bottom: 20%;
        position: absolute;
        display: flex;
        align-items: center;
        font-size: 18px;
        color: #fff;
    }
    .img {
        position: absolute;
        bottom: 15px;
        right: 15px;
    }
    .img img {
        display: block;
        width: 32px;
        height: 32px;
    }
}

.selection {
    .selection-left {
        width: 70px;
        height: 64px;
        background: rgba(0, 0, 0, .9);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .selection-right {
        padding-left: 14px;
        box-sizing: border-box;
        width: 128px;
        height: 64px;
        background: rgba(0, 0, 0, .6);
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

// 面板右侧部分
.pannel-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    .pannel-right-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .pannel-right-bottom {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}

.pannel-right-top {
    .goods {
        // padding: 10px;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
        background-color: #fff;
        border-bottom: 15px solid #f5f5f5;
        // flex-grow: 2;
        width: 484px;
        height: 306px;
        a {
            margin-left: 10px;
            padding-bottom: 10px;
            padding-right: 10px;
            width: 462px;
            height: 225px;
            position: relative;
            display: flex;
            justify-content: right;
            img {
                margin-top: 10px;
                margin-right: 30px;
                display: block;
                opacity: 1;
                width: 200px;
                height: 200px;
            }
            .right-detail {
                width: 291px;
                height: 87px;
                position: absolute;
                left: 0;
                bottom: 50px;
                display: flex;
                flex-direction: column;
                justify-content: center;
                background-color: rgba(0, 0, 0, 0);
                background: url(../img/haixianbg.png)100%;
            }
        }
        a:hover img {
            opacity: 0.7;
        }
        .right-detail {
            img {
                margin: 0;
                display: block;
                width: 23px;
                height: 23px;
            }
            .title-wrap {
                margin-left: 26px;
                display: flex;
                align-items: center;
            }
            .item-title {
                margin-left: 8px;
                font-size: 24px;
                font-weight: 700;
                color: #00B262;
            }
        }
        .detail-bottom {
            height: 30px;
            display: flex;
            line-height: 30px;
            .item-desp {
                margin-left: 26px;
                font-size: 20px;
                letter-spacing: 1px;
                color: #000;
            }
        }
    }
    a {
        flex-grow: 1;
    }
    .title {
        margin-top: 10px;
        margin-left: 10px;
        margin-right: 10px;
        width: 462px;
        flex-shrink: 0;
        height: 57px;
        background-color: #f1f1f1;
    }
    .text-title {
        padding: 0 20px;
        width: 50%;
        height: 57px;
        text-align: center;
        line-height: 57px;
        font-size: 16px;
        box-sizing: border-box;
        color: #fff;
        background: #00B262;
        cursor: pointer;
    }
}

// .pannel-right-top {
//     >a {
//         border-bottom: 15px solid #f5f5f5;
//     }
// }
.pannel-right-top,
.pannel-right-bottom {
    >a {
        margin-left: 13px;
        width: 234px;
        height: 300px;
        flex-shrink: 0;
        display: flex;
        img {
            display: block;
            width: 185px;
            height: 185px;
        }
        div {
            width: 234px;
            height: 300px;
            padding: 20px 0 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            box-sizing: border-box;
            background-color: #fff;
            div {
                margin: 8px auto;
                padding: 0;
                width: 135px;
                height: 40px;
                line-height: 20px;
                overflow: hidden;
                font-size: 14px;
                color: #333;
            }
        }
        span {
            // margin: 10px 0;
            // width: 234px;
            height: 18px;
            font-size: 18px;
            color: #ff0036;
            line-height: 18px;
        }
    }
    >a:hover {
        >div {
            outline: 1px solid #ff0036;
        }
        img {
            opacity: .7;
        }
    }
    .one {
        margin-left: 0;
    }
}

.pannel-right-bottom {
    a {
        flex-grow: 1;
    }
}

.pannel-content1 {
    display: flex;
    margin-top: 10px;
    width: 1230px;
    height: 618px;
    .pannel-left {
        width: 235px;
        height: 618px;
        display: flex;
        flex-direction: column;
        a {
            margin-bottom: 10px;
            position: relative;
        }
        img {
            display: block;
            width: 235px;
            height: 301px;
            transition: all .3s ease-out;
        }
        a:hover {
            img {
                opacity: .7;
            }
        }
    }
    .img {
        img {
            display: block;
            width: 32px;
            height: 32px;
        }
    }
    .pannel-right {
        margin-left: 13px;
        width: 995px;
        height: 611px;
        display: flex;
        flex-direction: column;
    }
}

.ad {
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    width: 1230px;
    height: 90px;
    overflow: hidden;
    img {
        display: block;
        width: 1620px;
        height: 90px;
        margin-left: -165px
    }
}

.supermarket {
    .floor-name {
        padding-left: 10px;
        margin-right: 10px;
        border-left: 5px solid #333;
        vertical-align: middle;
        font-size: 18px;
        color: #000;
    }
    span {
        margin-left: 10px;
        font-size: 14px;
        line-height: 24px;
    }
}

.footer {
    margin: 10px 0 0 0;
    padding: 0;
    width: 100%;
    text-align: center;
    border-top: 1px solid #D1D7DC;
    .tmall-ensure {
        margin: 25px auto;
        width: 1190px;
        height: 100px;
        background: url(../img/tmall-ensure.jpg) no-repeat;
        display: flex;
        a {
            flex-grow: 1;
        }
    }
    .tmall-desc {
        margin: 0 auto;
        padding-top: 22px;
        width: 1190px;
        height: 190px;
        border-top: 1px solid #ededed;
        background-image: url(../img/tmall-desc.png);
        background-repeat: no-repeat;
        background-size: 68px 25px;
        background-position: 80px 187px;
        display: flex;
        justify-content: space-around;
        .ensure,
        .beginner,
        .payment,
        .seller,
        .mobile {
            display: flex;
            flex-direction: column;
        }
        .title {
            height: 30px;
            line-height: 30px;
            color: #646464;
            font-size: 16px;
            font-weight: 700;
            text-align: left;
        }
        a {
            height: 20px;
            overflow: hidden;
            text-align: left;
            line-height: 20px;
            color: #8b8b8b;
            font-size: 12px;
        }
        .mobile {
            a {
                flex-grow: 1;
            }
        }
    }
    .tmall-copyright {
        border-top: 2px solid #FF0036;
        background-color: #000;
        .footer-tmallinfo {
            margin: 0 auto;
            padding: 5px 0;
            width: 1190px;
            height: 25px;
            text-align: left;
        }
    }
    .footer-copyright {
        margin: 0 auto;
        padding-bottom:16px;
        width: 1190px;
        text-align: left;
        background-color: #000;
        font-size: 12px;
        color: #a4a4a4;
        line-height: 20px;
        a {
            margin-right: 65px;
            color: #a4a4a4;
        }
    }
}

.footer-tmallinfo {
    a {
        margin-right: 3px;
        color: #fff;
        font-size: 12px;
        line-height: 25px;
    }
    span {
        color: #fff;
        font-size: 12px
    }
}

.mr65px {
    margin-right: 65px;
}

.footer-copy {
    background-color: #000;
}